package com.quanyan.user.model.vo.request;

import org.springframework.beans.propertyeditors.PatternEditor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * Created by yue.yuan on 2016/7/6.
 */
public class ReqQueryUserInterest extends QueryBase{
    @DateTimeFormat
    private Date startUpdate;
    @DateTimeFormat
    private Date endUpdate;
    private List<Integer> interestIds;
    private String mobile;
    private String dsn;
    private String larkCode;


    public Date getStartUpdate() {
        return startUpdate;
    }

    public void setStartUpdate(Date startUpdate) {
        this.startUpdate = startUpdate;
    }

    public Date getEndUpdate() {
        return endUpdate;
    }

    public void setEndUpdate(Date endUpdate) {
        this.endUpdate = endUpdate;
    }

    public List<Integer> getInterestIds() {
        return interestIds;
    }

    public void setInterestIds(List<Integer> interestIds) {
        this.interestIds = interestIds;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getDsn() {
        return dsn;
    }

    public void setDsn(String dsn) {
        this.dsn = dsn;
    }

    public String getLarkCode() {
        return larkCode;
    }

    public void setLarkCode(String larkCode) {
        this.larkCode = larkCode;
    }

    @Override
    public String toString() {
        return "ReqQueryUserInterest{" +
                "startUpdate=" + startUpdate +
                ", endUpdate=" + endUpdate +
                ", interestIds=" + interestIds +
                ", mobile='" + mobile + '\'' +
                ", dsn='" + dsn + '\'' +
                ", larkCode='" + larkCode + '\'' +
                '}';
    }
}
